home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14569 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  857 b 

  1. Path: lucy.swin.edu.au!bud!079519
  2. From: 079519@bud.swin.edu.au (John Joseph Newbigin)
  3. Newsgroups: comp.lang.c++
  4. Subject: HELP: Getting the address of member functions
  5. Date: 1 Apr 1996 02:00:18 GMT
  6. Organization: Swinburne University of Technology    
  7. Message-ID: <4jndbi$m12@lucy.swin.edu.au>
  8. NNTP-Posting-Host: bude.cc.swin.edu.au
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Newsreader: TIN [version 1.2 PL2]
  13.  
  14. I am writing a serial port driver class in BC3.1.  It is interrupt driven so I 
  15. need an interrupt function that can be set to the required int. vector.  I can do 
  16. this using a normal function but it can not access the class data and so needs 
  17. global vars. and hence, defeats the purpose of a class.
  18.  
  19. Does anyone know how to get the address of member functions so I can overcome this 
  20. problem?
  21.  
  22.  
  23. --
  24.  
  25.